package strategy;

import strategy.mode.*;

public class Utils {

    public static BlockMode getCurrentMode() {
        String mode = modeString();
        switch (mode) {
            case "smart":
                return new SmartBlock();
            case "custom":
                return new CustomBlock();
            case "blackList":
                return new BlockBlackList();
            case "blockAll":
                return new BlockAll();
        }
        return new SmartBlock();
    }

    private static String modeString() {
        //  TODO
        return "smart";
    }
}
